package org.wdcode.back.po;

import org.wdcode.back.helper.BackHelper;
import org.wdcode.base.bean.impl.BaseStateEntityBean;

/**
 * 扩展BaseStateEntityBean的抽象类
 * @author WD
 * @since JDK6
 * @version 1.0 2009-11-29
 */
public abstract class BaseBackStateEntityBean extends BaseStateEntityBean {
	/**
	 * 构造函数
	 */
	public BaseBackStateEntityBean() {
		super();
	}

	/**
	 * 构造函数
	 */
	public BaseBackStateEntityBean(int id) {
		super(id);
	}

	/**
	 * 构造函数
	 */
	public BaseBackStateEntityBean(int id, String name) {
		super(id, name);
	}

	/**
	 * 构造函数
	 */
	public BaseBackStateEntityBean(int id, String name, Short state) {
		super(id, name, state);
	}

	/**
	 * 获得显示状态字符串
	 * @return 显示状态字符串
	 */
	public final String getStateString() {
		return BackHelper.getState().get(getState());
	}
}
